home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / -serious- / misc / poolmem / patchram.readme < prev    next >
Text File  |  1999-11-30  |  6KB  |  161 lines

  1. Short:    Patch RAM to show right size, and more...
  2. Uploader: thor@einstein.math.tu-berlin.de (Thomas Richter)
  3. Author:   thor@einstein.math.tu-berlin.de (Thomas Richter)
  4. Type:     util/boot
  5. Version:  1.21
  6. Requires: OS 2.04 or better.
  7.  
  8. This file patches the RAM disk to show the real size occupied - its no longer
  9. 100% full. Furthermore, it increments the stack size of the RAM task a bit,
  10. which seems to be *very tight*.
  11.  
  12. ****** IMPORTANT NOTE: DUE TO INTERNAL CHANGES, THE PROGRAM MUST NOW *********
  13. ****** RUN BEFORE THE RAM DISK IS USED. THIS IS A FUNCTIONAL         *********
  14. ****** DIFFERENCE TO FORMER VERSIONS                     *********
  15.  
  16. The feature of allocating large RAM blocks reverse has been removed and is
  17. now integrated into PoolMem - which can be found in util/boot, too.
  18. ____________________________________________________________________________
  19.  
  20. Changes made in 1.21:
  21.  
  22.     - Increased the stack size of the new RAM supervisor task by a few
  23.       bytes because it was low on stack.
  24.     - Auto-increments the stack size of the main RAM task on startup
  25.       because this used to be too low as well... )-:
  26. ____________________________________________________________________________
  27.  
  28. Changes made in 1.20:
  29.  
  30.     - Removed the reverse memory allocation feature and integrated
  31.       this in PoolMem. Removed, therefore, some command line arguments
  32.       that don't make sense anymore.
  33.  
  34. Changes made in 1.11:
  35.  
  36.     - Added command line options, see below.
  37.     - Added a different patching mechanism on request.
  38.  
  39. Changes made in 1.10:
  40.  
  41.     - Fixed a bug that actually broke the reverse memory allocation
  42.       feature. Sigh.
  43.  
  44. Changes made in 1.09:
  45.  
  46.     - PatchRAM replaces no longer the AllocVec() function completely.
  47.       Thus, the patch might be slightly (almost unnoticably) slower,
  48.       but is compatible to AROS. Thanks to Jörg Strohmeier for the
  49.       report.
  50.  
  51. Changes made in 1.08:
  52.  
  53.     - Streamlined the code a bit.
  54.     - PatchRAM can now be run anywhere in your startup sequence.
  55.       It loads the RAM disk in case it is not available.
  56.  
  57. ____________________________________________________________________________
  58.  
  59.                         The THOR-Software Licence
  60.  
  61.  
  62. This License applies to the computer programs known as "PatchRAM".
  63. The "Program", below, refers to such program.
  64.  
  65.  
  66. The programs and files in this distribution are freely distributable
  67. under the restrictions stated below, but are also Copyright (c)
  68. Thomas Richter.
  69.  
  70.  
  71. Distribution of the Program by a commercial organization without written
  72. permission from the author to any third party is prohibited if any payment
  73. is made in connection with such distribution, whether directly
  74. (as in payment for a copy of the Program) or indirectly (as in payment
  75. for some service related to the Program, or payment for some product
  76. or service that includes a copy of the Program "without charge";
  77. these are only examples, and not an exhaustive enumeration of prohibited
  78. activities). However, the following methods of distribution involving
  79. payment shall not in and of themselves be a violation of this restriction:
  80.  
  81.  
  82. (i) Posting the Program on a public access information storage and
  83. retrieval service for which a fee is received for retrieving information
  84. (such as an on-line service), provided that the fee is not
  85. content-dependent (i.e., the fee would be the same for retrieving the same
  86. volume of information consisting of random data).
  87.  
  88.  
  89.  
  90. (ii) Distributing the Program on a CD-ROM, provided that the files
  91. containing the Program are reproduced entirely and verbatim on such
  92. CD-ROM, and provided further that all information on such CD-ROM be
  93. redistributable for non-commercial purposes without charge.
  94.  
  95.  
  96.  
  97. Everything in this distribution must be kept together, in original
  98. and unmodified form.
  99.  
  100.  
  101.  
  102.  
  103. Limitations.
  104.  
  105. THE PROGRAM IS PROVIDED TO YOU "AS IS," WITHOUT WARRANTY. THERE IS NO
  106. WARRANTY FOR THE PROGRAM, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
  107. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
  108. PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. THE ENTIRE
  109. RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD
  110. THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
  111. SERVICING, REPAIR OR CORRECTION.
  112.  
  113.  
  114.  
  115. IF YOU DO NOT ACCEPT THIS LICENCE, YOU MUST DELETE ALL FILES CONTAINED IN
  116. THIS ARCHIVE.
  117.  
  118. _____________________________________________________________________________
  119.  
  120. Synopsis:
  121.  
  122. PatchRAM    PORTPATCH/S
  123.  
  124.  
  125. PORTPATCH:    If given, use a different patching mechanism for the RAM
  126.         disk disk info bug. The "PORTPATCH" might be slightly 
  127.         faster, might cause less compatibility problems with
  128.         programs that somehow mess with the port lists and the
  129.         reply ports, but is itself not without its quirks, too.
  130.         It uses the undocumented PA_ACTION¹ type for the RAM disk
  131.         port to capture the broken dos packets. The problem is
  132.         that this message port type has never been officially
  133.         documented, but is working since the very first release
  134.         of the system, though. 
  135.         This patched port might - or should (!) - make your virus
  136.         scanner scream!
  137.  
  138. _____________________________________________________________________________
  139.  
  140. ¹ For all the picky folks: Yes, I KNOW that this type isn't called 
  141. PA_ACTION indeed, but since no official name has been assigned to this
  142. mode and it is often referred to as PA_ACTION, I keep this name for
  143. "traditional reasons".
  144. _____________________________________________________________________________
  145.  
  146. Installation:
  147.  
  148.     Add PatchRAM to your startup sequence. This program MUST NOW BE RUN
  149.     BEFORE THE RAM-DISK IS STARTED OR IT WILL FAIL. NOTE THAT THIS 
  150.     IS DIFFERENT FROM FORMER RELEASES.
  151.     A good point is here:
  152.  
  153. SetPatch        ;*** NOTE THAT THIS IS DIFFERENT FROM FORMER RELEASES
  154. PatchRAM        ;insert below this line, probably with options...
  155.  
  156.  
  157. October 1999,
  158.     Thomas
  159.  
  160.  
  161.